@import "normalize.less";
@import "mixin.less";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
  color: @text-color;
  background: #eee;
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, STHeiTi, Roboto, "Droid Sans", "Droid Sans Fallback", sans-serif;
}

a, button, input, select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent; /* For some Androids */
  -webkit-appearance:none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 点击高亮的颜色*/
}

a, a:visited {
  text-decoration: none;
  cursor: pointer;
}

ul li {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.clearfix {
  .clearfix();
}

.wraper {
  margin-bottom: 55px;
}

.tb-mode{
  width: 100%;
  display: table;
  .tb-cell{
    display: table-cell;
    vertical-align: middle;
  }
  .vertical-top{
    vertical-align: top;
  }
}

.text-right{
  text-align: right;
}

.scrm-loadding {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
#gb-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 10000;
}
#gb-loading rect {
  fill: #fff;
}

.flex-box{
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
}

.flex-left{
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
}

.flex-top{
  align-items: flex-start;
  -webkit-align-items: flex-start;
}

.flex-between{
  justify-content: space-between;
  -webkit-justify-content: space-between;
}

.item-col{
  flex-direction: column;
  -webkit-flex-direction: column;
}
.flex-auto{
  flex: 1;
  -webkit-flex: 1;
}